NDiagramSurface<TItem,TItemCollection,TSelection> Class Members
In This Topic
The following tables list the members exposed by NDiagramSurface<TItem,TItemCollection,TSelection>.
Public Fields
Public Properties
| Name | Description |
| BackgroundFill | Gets or sets the background filling of the surface |
| BackgroundPreviews | Gets or sets the collection of background previews. BackgroundPreviews are visuals displayed behind the Items. |
| Border | Gets or sets the page stroke style |
| BorderThickness | Gets or sets the thickness of the border surrounding the surface. |
| Bounds | Gets or sets the surface bounding box, which is formed by the X, Y, Width and Height properties. |
| Height | Gets or sets the logical page height |
| Items | Gets or sets the items collection |
| Previews | Gets or sets the collection of previews. Previews are visuals that are displayed above the Items. |
| Selection | Gets or sets the page selection, which is responsible for the management of the selected items inside a page. |
| ViewportOrigin | Gets or sets the viewport origin of the surface. The Origin is the first visible point from the surface (in local coordinates). |
| ViewportOriginX | Gets or sets the Origin X value. The Origin is the first visible point from the surface (in local coordinates). |
| ViewportOriginY | Gets or sets the Origin Y value. The Origin is the first visible point from the surface (in local coordinates). |
| Width | Gets or sets the logical page width |
| WindowOrigin | Gets or sets the window origin of the surface |
| WindowOriginX | Gets or sets the Window Origin X value (in parent coordinates). The value of this property is automatically set by view hosting the surface. |
| WindowOriginY | Gets or sets the Window Origin Y value (in parent coordinates). The value of this property is automatically set by view hosting the surface. |
| X | Gets or sets the X coordinate of the page bounding box. |
| Y | Gets or sets the Y coordinate of the page bounding box. |
Top
Public Methods
| Name | Description |
| AddPropertiesMenuItem | Adds the properties menu item. |
| AppendContextMenuItems | Appends custom context menu items. |
| CanAnchorHatches | Overridden. |
| CanAnchorShadows | Overridden. |
| CanCopy | Determines whether the specified nodes can be copied. Called by the Copy command. |
| CanCut | Determines whether the specified nodes can be cut Called by the Cut command. |
| CanDoDragDrop | Determines whether the specified items can be the content of a a drag and drop operation |
| CanPaste | Determines whether the current clipboard content can be pasted in this view Called by the Paste command. |
| CanTransform | Overridden. |
| Copy | Copies the specified items to the |
| Cut | Cuts the specified items. |
| DoDragDrop | Requests a drag and drop operation for the specified items. Calls the funcResult delegate when the operation has completed. Calls the queryContinueDrag delegate while the operation is performed. Returns whether the Drag and Drop was requested. |
| DoPostPaint | Overridden. Performs the element post children paint. |
| DoPrePaint | Overridden. Performs the element pre children paint. |
| GetBorderEdge | Overloaded. Gets the border edge (border area) of the element (in local coordinates) |
| GetContentEdge | Overloaded. Gets the content edge (inner edge) of the element (in local coordinates) |
| GetInsets | Gets the element insets. This implemenation returns the sum of the padding and border thickness. |
| GetPaddingEdge | Overloaded. Gets the padding edge (padding area) of the element (in local coordinates) |
| GetTopMostHitItem | Overloaded. Gets the top most page item hit by the specified point |
| GetTransform | Overridden. Gets the matrix that transforms local to parent coordinates. |
| HitTest | Overloaded. Overridden. Hit tests the node by point (in local coordinates). |
| HitTestItems | Overloaded. Gets all items, that are hit by the specified point (in surface coordinates) |
| LocalToParent | Overloaded. Overridden. Transforms a point in local coordinates to the coordinates of its parent coordinate system |
| ParentToLocal | Overloaded. Overridden. Transforms a point in parent coordinates to local coordinates |
| Paste | Pastes the clipbard content in this page. |
| ScrollInDirection | Scrolls the viewport in the specified direction, with the specified amount of steps. |
| ShowPropertiesDialog | Must override to show the properties of the surface. |
Top
Public Events
See Also